package com.aaa.dao.scl;

import com.aaa.entity.fpa.TjMessage;
import com.aaa.entity.scl.SclRecord;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * (SclRecord)表数据库访问层
 * 
 * @author yuyongli
 * @since 2022-10-27 19:11:05
 */
@Repository
public interface SclRecordDao extends Mapper<SclRecord> {

    /**
     * 查询全部做题记录
     * @return
     */
    List<SclRecord> queryAllRecord();

    /**
     * 查询做题详情信息
     * @return
     */
    List<Map<String, Object>> queryxiangqing(Integer id);

    /**
     * 模糊查询
     * @param sclRecord
     * @return
     */
    List<SclRecord> querySclRecordAll(SclRecord sclRecord);

    /**
     * 统计 F1~F10
     * @param tjMessage
     * @return
     */
    List<TjMessage> getTj(TjMessage tjMessage);

}

